﻿<phoneNavigation:PhoneApplicationPage 
    x:Class="Coding4Fun.Cannon.TechEdPhone.Complete.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phoneNavigation="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Navigation"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="480"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}" Loaded="PhoneApplicationPage_Loaded" 
    Orientation="Landscape" SupportedOrientations="Landscape"
    xmlns:my="clr-namespace:Coding4Fun.Cannon.TechEdPhone.Complete.Controls">

    <Grid x:Name="LayoutRoot" Background="{StaticResource PhoneBackgroundBrush}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="640"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        
        <Canvas Grid.Column="0">
        
            <my:AimView  x:Name="aimView1" Width="640" Canvas.Left="0" Canvas.Top="0" />
            <my:DriveView x:Name="driveView1" Canvas.Left="0" Canvas.Top="0" />
            <my:FireView Height="480" HorizontalAlignment="Left" x:Name="fireView1" VerticalAlignment="Top" Width="640" Canvas.Left="0" Canvas.Top="0" />

        </Canvas>

        <Grid Grid.Column="1" >
            <my:NavigationControl Height="480"  x:Name="navigationControl1"  ButtonNavigationChanged="navigationControl1_ButtonNavigationChanged" />
        </Grid>
        
    </Grid>
    
</phoneNavigation:PhoneApplicationPage>